package com.fulihui.information.enums;

import org.near.toolkit.model.BaseEnum;

/**
 * @author: Levon
 * @version: v 0.1 2017-06-12 11:26
 */
public enum RewardedType implements BaseEnum {
    REWARDED_TRUE(1,"REWARDED_TRUE", "已奖励"),
    REWARDED_FALSE(0,"REWARDED_FALSE", "未奖励"),;

    String code;
    String desc;
    int flag;

    RewardedType(int flag,String code, String desc) {
        this.code = code;
        this.desc = desc;
        this.flag = flag;
    }

    public int getFlag(){
        return flag;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
